const express = require('express');
const router = express.Router();
const applicationCtrl = require('../controller/Application')
const applicationValidator = require('../validator/application')


// 添加申请
router.post('/application', applicationValidator.postApplication, applicationCtrl.postApplication);
//改变申请状态
router.post('/application/isDispose', applicationCtrl.isDispose);

// 获取申请
router.get('/application', applicationCtrl.getApplication);

module.exports = router;
